import request from '@/utils/request'

//导出文件-提现
export function exportWithdrawFile(query) {
  return request({
    url:'/createWithdrawExportFile',
    method:'post',
    data:query
  })
}

//下载文件-提现
export function downloadWithdrawFile(query) {
  return request({
    url:'/downloadWithdrawExportFile',
    method:'post',
    data:query
  })
}

//导出文件-汇款
export function exportPaidBackFile(query) {
  return request({
    url:'/createWithdrawExportFile',
    method:'post',
    data:query
  })
}

//下载文件-汇款
export function downloadPaidBackFile(query) {
  return request({
    url:'/downloadWithdrawExportFile',
    method:'post',
    data:query
  })
}

//导出文件-拼团订单
export function exportGroupOrderFile(query) {
  return request({
    url:'/downloadGroupOrder',
    method:'post',
    data:query
  })
}

//导出文件-会员购买订单
export function exportVipGoodsFile(query) {
  return request({
    url:'/createVipGoodExportFile',
    method:'post',
    data:query
  })
}

//下载文件-会员购买订单
export function downloadVipGoodsFile(query) {
  return request({
    url:'/downloadExportFile',
    method:'post',
    data:query
  })
}
